package org.bjf.springboot.domain;

import org.hibernate.validator.constraints.NotBlank;

/**
 * Created by binjinfeng on 2017/3/6.
 */
public class User {

  private Integer id;
  @NotBlank
  private String name;
  private Integer age;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Integer getAge() {
    return age;
  }

  public void setAge(Integer age) {
    this.age = age;
  }
}
